<?php /* Smarty version Smarty-3.0.7, created on 2015-01-12 08:46:15
         compiled from "E:/project/runtime/development/lab/tryPHP/app_y003/view\oui/manual/form.html" */ ?>
<?php /*%%SmartyHeaderCode:2880454b31957edba89-78417239%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '218dfbe8b038a3532532cfb260640084a036d3b0' => 
    array (
      0 => 'E:/project/runtime/development/lab/tryPHP/app_y003/view\\oui/manual/form.html',
      1 => 1421023572,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2880454b31957edba89-78417239',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("oui/public/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/breadcrumb-3.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div class="well">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#main" data-toggle="tab">基本信息</a></li>
        <li class=""><a href="#option1" data-toggle="tab">选项</a></li>
    </ul>
    <form method="post" class="form" action=<?php echo $_smarty_tpl->getVariable('data')->value['meta']['action'];?>
>
    <input type="hidden" id="id" name="id" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['id'];?>
>
    <div id="myTabContent" class="tab-content">
        <div id="main" class="tab-pane active in">
            <label>标题</label>
            <input type="text" class="input-xlarge-1" id="title" name="title" autofocus="true" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['title'];?>
>
            <label>正文</label>
            <textarea class="input-xlarge hidden" id="content" name="content" rows="10" xheditor="true" height="390" upImgUrl=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(':common_xheditor::upload');?>
><?php echo $_smarty_tpl->getVariable('data')->value['base']['content'];?>
</textarea>
        </div>
        <!--优雅的分隔线-->
        <div id="option1" class="tab-pane fade">
            <label>类别</label>
            <input type="hidden" id="class-value" name="class-value" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['class'];?>
>
            <select class="select-xlarge-2" id="class" name="class">
                <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value['class']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
                <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</option>
                    <?php  $_smarty_tpl->tpl_vars['subItem'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['item']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['subItem']->key => $_smarty_tpl->tpl_vars['subItem']->value){
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['subItem']->value['id'];?>
">　　<?php echo $_smarty_tpl->tpl_vars['subItem']->value['name'];?>
</option>
                        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['subItem']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">　　　　<?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
</option>
                        <?php }} ?>
                    <?php }} ?>
                <?php }} ?>
            </select>
        </div>
        <div class="btn-toolbar">
            <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
        </div>
    </div>
    </form>
</div>
<!--优雅的分隔线-->
<script src=<?php echo @BUILD_PATH;?>
/public/JEAR/xheditor/xheditor-1.1.14-zh-cn.min.js></script>
<script src=<?php echo @BUILD_PATH;?>
/public/JEAR/xheditor/xheditor.initialization.js></script>
<!--优雅的分隔线-->
<script src=<?php echo @APP_PATH;?>
/view/oui/scripts/manual.form.js></script>
<?php $_template = new Smarty_Internal_Template("oui/public/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>